package com.lara1;

import java.util.HashSet;

public class Manager18 {
public static void main(String[] args) {
	@SuppressWarnings("rawtypes")
	HashSet s=new HashSet<>();
	s.add("abc");
	s.add("abc");
	System.out.println(s);
	HashSet s2=new HashSet<>();
	s2.add(90);
	s2.add(90);
	System.out.println(s2);
	HashSet s3=new HashSet<>();
	s3.add(true);
	s3.add(true);
	System.out.println(s3);
	HashSet s4=new HashSet<>();
	s4.add(new StringBuffer("abc"));
	s4.add(new StringBuffer("abc"));
	System.out.println(s4);
	HashSet s5=new HashSet<>();
	s5.add(new A(10));
	s5.add(new  A(10));
	System.out.println(s5);
}
}
